package org.gnyxy.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

@AllArgsConstructor
@NoArgsConstructor
@Data
@Accessors(chain = true)
public class CartWithInfoVO implements Serializable {
    private Long id;
//    private Long cartId;
    private Long dishId;
    private String dishName;
    private BigDecimal dishPrice;
    private Long materialId;
    private String materialName;
    private BigDecimal materialDefaultPrice;
    private BigDecimal materialPrice;
    private BigDecimal defaultRange;
    private BigDecimal number;
    private BigDecimal defaultPrice;
    private BigDecimal price;
    private List<CartDishInfoVO> cartDishInfoVOS = new ArrayList<>();
}
